Skip to main content Skip to complementary content

QvxReply XML schema

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="QvxResult">
    <xs:restriction base="xs:string">
      <xs:enumeration value="QVX_OK"/>
      <xs:enumeration value="QVX_UNKNOWN_COMMAND"/>
      <xs:enumeration value="QVX_UNSUPPORTED_COMMAND"/>
      <xs:enumeration value="QVX_UNEXPECTED_COMMAND"/>
      <xs:enumeration value="QVX_SYNTAX_ERROR"/>
      <xs:enumeration value="QVX_CONNECT_ERROR"/>
      <xs:enumeration value="QVX_TABLE_NOT_FOUND"/>
      <xs:enumeration value="QVX_FIELD_NOT_FOUND"/>
      <xs:enumeration value="QVX_PIPE_ERROR"/>
      <xs:enumeration value="QVX_UNEXPECTED_END_OF_DATA"/>
      <xs:enumeration value="QVX_UNKNOWN_ERROR"/>
      <xs:enumeration value="QVX_CANCEL "/>
     <xs:enumeration value="QVX_CONNECTION_BROKEN "/>
    </xs:restriction>
  </xs:simpleType>
 
  <xs:element name="QvxReply">
    <xs:complexType>
      <xs:all>
        <xs:element name="Result" type="QvxResult" />
        <xs:element name="OutputValues">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="String" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ErrorMessage" type="xs:string" />
      </xs:all>
    </xs:complexType>
  </xs:element>
</xs:schema>

QvxReply Element

Elements

Child Element

Description

Result

Error message type.

QvxResult.

OutputValues

String array of result values.

QvxCommand Type

ErrorMessage

Error explanation when Result <> QVX_OK.

QvxResult Type

Types and values

Type Value

Description

QVX_OK

Command executed successfully.

QVX_UNKNOWN_COMMAND

Command is not recognized.

QVX_UNSUPPORTED_COMMAND

Command is recognized but not implemented.

QVX_UNEXPECTED_COMMAND

Execution of the command requested not in the right circumstances.

QVX_CONNECT_ERROR

Data source connection is not established or is lost.

QVX_SYNTAX_ERROR

SQL statement contains a syntax error.

QVX_TABLE_NOT_FOUND

Table specified in SQL statement is not found.

QVX_FIELD_NOT_FOUND

Field specified in SQL statement is not found.

QVX_PIPE_ERROR

Failed to write data to data pipe.

QVX_UNEXPECTED_END_OF_DATA

Failed to fetch data from data source.

QVX_UNKNOWN_ERROR

Other error occurred.

QVX_CANCEL

Command execution canceled by the user.

QVX_CONNECTION_BROKEN Connection to the database has been lost. Only QVConnect in ODBC mode returns this value

 

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!